package com.schoolcloud.serve.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.schoolcloud.common.model.PageDTO;
import com.schoolcloud.serve.dto.AttributeAndValuesDTO;
import com.schoolcloud.serve.entity.SkuAttribute;
import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolcloud.serve.query.SkuAttributeQuery;

import java.util.List;

/**
* @author hongmizfb
* @description 针对表【sku_attribute(商品属性表)】的数据库操作Service
* @createDate 2025-04-12 17:11:02
*/
public interface SkuAttributeService extends IService<SkuAttribute> {

    PageDTO<SkuAttribute> getSkuAttributePage(SkuAttributeQuery query);

    Page<SkuAttribute> getSkuAttributeMPPage(SkuAttributeQuery query);

    List<SkuAttribute> getSkuAttributeByCategoryId(String categoryId);

    List<SkuAttribute> getSaleSkuAttributeByCategoryId(String categoryId);
}
